#ifndef _DEBUG_H
#define _DEBUG_H

#include "../GenericTypeDefs.h"
#include "xc.h"


typedef struct _PanelCommDebugPack {
    uint8_t PackHead;
    uint8_t PackIndex;
    uint16_t PackLength;
    uint8_t StationNum;
    uint8_t Cmd;
    uint8_t Data[256];
    uint8_t DataByteLength;
    uint16_t Crc;
    uint8_t PackTail;
} PanelCommDebugPack;

void SendDebugStr(void);

void PutCharBuf(char* str, uint8_t len);

#endif